package org.zjx.analysis.analyze.tap;


import org.zjx.command.util.ImageUtil;
import org.zjx.window.window.IWindow;

import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Collections;

public class FCSTabAnalysis extends BaseTabAnalysis {

    public FCSTabAnalysis(IWindow window) {
        super("方寸山", window);
    }

    @Override
    public Rectangle getContentArea() {
        return ImageUtil.createRect(10, 80, 448, 355);
    }

    @Override
    protected void initResources() {

    }

    @Override
    public Rectangle closeArea() {
        return null;
    }

    @Override
    public Rectangle getOriginBounds() {
        return ImageUtil.createRect(198, 94, 601, 479);
    }

    @Override
    public Rectangle getRefImageArea() {
        return ImageUtil.createRect(181, 24, 221, 37);
    }

    @Override
    public BufferedImage getRefImage() {
        BufferedImage bufferedImage = ImageUtil.createImage("iVBORw0KGgoAAAANSUhEUgAAACkAAAAOCAYAAACyyTV4AAAC9UlEQVR4XqWV/UuTURTH94+FLz9E+cNsw2lUvmUKaZFapj+EVkMidW2Eis6p+BJutphv5VgTpOZKJzrLpIWpUxuKaGVGkunpOWe7z557n1VUBz5wzvfee873ubswTVJGGyg5po9isfkhLadbrhORpG9RaUoKrrngRr03vl+YpSSr2E6IOqIRBcb3g0MIBNcpF4czgwxxjRnyTa3AgdRH7J2IpfAOhN5vqXREY2r1wd/G3aZxzqRMrGlyRjSfmA7Dj8OjuG6wEWcv98s5Yy3yGZZWd+Q6JcMKqVntUFTpAk2qwQr5pQ8hvyzKwrtNOJQaszqvzMGRW+qAFEMLpJ3rEL3/McpvjdBwjKraUc4QmlyWTGLOqK730F6NUkTmQxvwYWOXcryRRLCb67AHwD4YjDKkBp8MhmNoDvoGgqA73y2brGl4ys1di3ziTOIco3ksZlK6FSVb23u0kCgmZ1bpcIq+ieOxdwG0eZ2qj/FPr9DPLc7AqDF5OE02GavJpMVLezViYwz3eAgKK5wcU7NhWkNTSbpGmWR9I+nf9g9k06LJRDOqGzychibpTSq02+aYSeWNaHNsJJZUOVW31dUfoDU0JhotuuqgtUH3PHfGH1im9y32wqipd3Na9Ca3Oc14j71JhegcniMRc2aA5faBWdkk6br7Mlg7BqPrZy72yOcmJJP0c/+3ydigk6ebSRj2zHMGGN5nIdj9si/lZpmkUxauxng0EpTP+ANL0ZsUepHJuiecthb5CMvhbU4zmty8ydcLERKOZ2IdH8xYl5q8XdxU6b8zHTfJtH82aYbOvhdUVBld1KyxfRwsrWNguNBGdUmlnda7+19CcnpDQuyuAPgmF6HWPAra7GY6hx+295W/fQQD9+IMBsbREXAafiSZLCzvpcTa81weGJhdIU2ME5kWlTmlyURh6/Vx+9Dk3Jt1cdsvY+bVqvSPozNBwZUu1VAks6AViq8/gKxCK7+mrVMTW0vPboKKm064YxmF3Eudqp7/wk/QHAQDhmXuzQAAAABJRU5ErkJggg==");
        return ImageUtil.makeColorsTransparent(bufferedImage, Collections.singletonList(Color.WHITE));
    }
}
